package com.ssrs.platform.point.action;

import com.ssrs.framework.extend.annotation.ExtendAction;
import com.ssrs.framework.point.I18nPoint;
import com.ssrs.platform.PlatformPlugin;

import java.util.HashMap;
import java.util.Map;

/**
 * 项目国际化扩展行为
 *
 * @author ssrs
 */
@ExtendAction(
        plugin = PlatformPlugin.class,
        extendPoint = I18nPoint.class,
        description = "项目国际化扩展行为"
)
public class I18nDBAction extends I18nPoint {
    private static final String ID = "com.ssrs.platform.point.action.I18nDBAction";


    @Override
    public boolean isUsable() {
        return true;
    }

    @Override
    public Map<String, Map<String, String>> execute() {
        Map<String, Map<String, String>> data = new HashMap<>();
        // todo 从数据获取国际化资源
        return data;
    }
}
